﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Models.PLAN
{
    [Serializable]
    public class PlanDetailModel
    {
        /// <summary>
        /// 采购计划编号
        /// </summary>
        public string PlanID { set; get; }

        /// <summary>
        /// 采购计划明细编号
        /// </summary>
        public string PlanDetailID { set; get; }

        /// <summary>
        /// 合同流水号
        /// </summary>
        public string ECONTRACT_CODE { set; get; }

        /// <summary>
        /// 计划项
        /// </summary>
        public int? PLAN_TERM { set; get; }

        /// <summary>
        /// 计划类型（枚举ContractCategory）
        /// </summary>
        public int? PLAN_TYPE { set; get; }

        /// <summary>
        /// 计划类型
        /// </summary>
        public string TYPE_NAME { set; get; }

        /// <summary>
        /// 计划年度
        /// </summary>
        public int? YEAR { set; get; }

        /// <summary>
        /// 计划月度
        /// </summary>
        public int? MONTH { set; get; }

        /// <summary>
        /// 供应商编号
        /// </summary>
        public string SUPPLIER_ID { set; get; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SUPPLIER_NAME { set; get; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string MATERIEL_ID { set; get; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MATERIEL_NAME { set; get; }

        /// <summary>
        /// 本月计划量
        /// </summary>
        public decimal? PLAN_COUNT { set; get; }

        /// <summary>
        /// 价格类别（枚举PriceType）
        /// </summary>
        public int? PRICE_TYPE { set; get; }

        /// <summary>
        /// 到厂价
        /// </summary>
        public decimal? FACTORY_PRICE { set; get; }

        /// <summary>
        /// 合同价
        /// </summary>
        public decimal? CONTRACTPRICE { set; get; }

        /// <summary>
        /// 矿点编号
        /// </summary>
        public string MINE_ID { set; get; }

        /// <summary>
        /// 矿点名称
        /// </summary>
        public string MINE_NAME { set; get; }

        /// <summary>
        /// 到厂标煤单价
        /// </summary>
        public decimal? ARRIVE_STANDARD_PRICE { set; get; }
    }
}
